<style type="text/css">
	form.tab-form-demo .tab-pane {
		margin: 20px 20px;
	}
	.modal-lg {
		width: 85%;
	}
</style>

<div class="modal-header">
    <h4 class="modal-title">样式设置</h4>
</div>
	<div class="modal-body"> 
		<div class="container-fluid form-horizontal" >
			<div class="col-xs-12 col-md-12 mt10">
				<div class="form-group">
					<label class="col-sm-2 col-xs-12 control-label">背景图片</label>
					<div class="col-sm-4 col-xs-12">
						<button class="btn m-b-xs w-sm btn-info" ng-click="image()">
							<i class="fa fa-file-image-o"></i> 添加图片
						</button>                    
					</div>
				</div>
				<div class="col-sm-12" style="padding:10px" ng-repeat="item in array">           
					<div class="col-sm-offset-2 col-sm-4">
						<img ng-src="{{item}}" width="100%" height="100"  ng-show="item.lastIndexOf('.pdf')=='-1'">
						<a href= "{{item}}" target="_Blank" ng-show="item.lastIndexOf('.pdf')!='-1'">{{item}}</a>
						<a type = 'button' class="btn-xs m-b-xs w-sm btn-danger" ng-click="del($index)">删除</a>	
					</div> 
				</div>   
			
				<div class="form-group">
					<label class="col-sm-2 col-xs-12 control-label">颜色</label>
					<div class="col-sm-4 col-xs-12" >
						<input type="color" class="form-control" placeholder="" value="#ff0080" 
						ng-model="info.bg_color" style="width : 150px"
						>
					</div>
				</div>  
				<div class="form-group" >
					<label class="col-sm-2 col-xs-12 control-label">说明</label>
					<div class="col-sm-6 col-xs-12">
						<div class="ueditor" ng-model="info.book_info" ></div>      
					</div>
					<div class="col-sm-4 mt10">
						<font face="Courier" class="text-danger">用于填写套票产品购买须知</font>
					</div>
				</div> 
			
				<!-- <div class="form-group">
					<div class="col-sm-2 col-xs-12 col-md-offset-2 text-center">
						<button type="button" class="btn btn-primary btn-lg btn-block" ng-click="save()">保存</button>
					</div>
				</div> -->
			</div>
		</div>
	</div> 
<div class="modal-footer">
	<button class="btn btn-primary" type="button" ng-click="ok()">OK</button>
	<button class="btn btn-warning" type="button" ng-click="cancel()">返回</button>
</div>
	
		<!-- <div class="col-sm-12" style="background: #fff; padding-top: 15px;" >
			<tabset active="activeForm" class="nav nav-tabs nav-justified ">
				<tab index="{{$index}}" heading="tab{{$index}}" ng-if="productobj.list != ''" 
					ng-repeat="typelist in typearr">

					<div class="container-fluid form-horizontal ">
						<div class="col-xs-12 col-md-12 mt10">
							<div class="form-group">
								<label class="col-sm-2 col-xs-12 control-label">{{$index}}</label>
								<div class="col-sm-4 col-xs-12">
									<button class="btn m-b-xs w-sm btn-info" ng-click="image()">
										<i class="fa fa-file-image-o"></i> 添加图片
									</button>                    
								</div>
							</div>
							<div class="col-sm-12" style="padding:10px" ng-repeat="item in array">           
								<div class="col-sm-offset-2 col-sm-4">
									<img ng-src="{{item}}" width="100%" height="100"  ng-show="item.lastIndexOf('.pdf')=='-1'">
									<a href= "{{item}}" target="_Blank" ng-show="item.lastIndexOf('.pdf')!='-1'">{{item}}</a>
									<a type = 'button' class="btn-xs m-b-xs w-sm btn-danger" ng-click="del($index)">删除</a>	
								</div> 
							</div>   
						
							<div class="form-group">
								<label class="col-sm-2 col-xs-12 control-label">颜色</label>
								<div class="col-sm-4 col-xs-12" >
									<input type="color" class="form-control" placeholder="" value="#ff0080" 
									ng-model="aaa[$index].bg_color" style="width : 150px"
									>
								</div>
							</div>  
							<div class="form-group" >
								<label class="col-sm-2 col-xs-12 control-label">说明</label>
								<div class="col-sm-6 col-xs-12">
									<div class="ueditor" ng-model="aaa[$index].book_info"></div>      
								</div>
								<div class="col-sm-4 mt10">
									<font face="Courier" class="text-danger">用于填写套票产品购买须知</font>
								</div>
							</div> 
						
							<div class="form-group">
								<div class="col-sm-2 col-xs-12 col-md-offset-2 text-center">
									<button type="button" class="btn btn-primary btn-lg btn-block" ng-click="save(typelist,$index)">保存</button>
								</div>
							</div>
						</div>
					</div>
				</tab>

			</tabset>
			<br />
		</div> -->
 